/**
 * 登录方式
 */
export enum LoginType {
  No = 0,
  GroupVerificationCode = 1,
  Passwordless = 2,
  Password = 3,
  Email = 4,
  QQ = 5,
  WeChat = 6,
  ScanCode = 7,
  Alipay = 8,
  Github = 9,
  Gitee = 10,
  GitLab = 11,
  Google = 12,
  DouYin = 13,
  Server = 14,
}


/**
 * 登录支持详细信息
 */
export const supportLoginTypes = [
  {title: '密码登录', type: LoginType.Password, icon: "mdi-lock"},
  {title: 'QQ登录', type: LoginType.QQ, icon: "mdi-qqchat"},
  {title: '微信登录', type: LoginType.WeChat, icon: "mdi-wechat"},
]


/**
 * 所有登录方式
 */
const all_login = [
  {title: '免登录进入', type: LoginType.No, icon: "mdi-login"},
  {title: '群验证码登录', type: LoginType.GroupVerificationCode, icon: "mdi-qqchat"},
  {title: '服务器内登录', type: LoginType.Server, icon: "mdi-server"},
  {title: '邮箱验证登录', type: LoginType.Email, icon: "mdi-email-arrow-right-outline"},
  {title: '动态N码登录', type: LoginType.ScanCode, icon: "mdi-code-equal"},
  {title: '群扫码登录', type: LoginType.No, icon: "mdi-qrcode-scan"},
  {title: '微信登录', type: LoginType.WeChat, icon: "mdi-qrcode-scan"},
  {title: '支付宝登录', type: LoginType.Alipay, icon: "mdi-qrcode-scan"},
  {title: 'Gitee登录', type: LoginType.Gitee, icon: "mdi-qrcode-scan"},
  {title: 'Gitlab登录', type: LoginType.Github, icon: "mdi-qrcode-scan"},
  {title: 'GitHub登录', type: LoginType.GitLab, icon: "mdi-qrcode-scan"},
  {title: 'Google登录', type: LoginType.Google, icon: "mdi-qrcode-scan"},
  {title: '抖音登录', type: LoginType.DouYin, icon: "mdi-qrcode-scan"},
]
